#ifndef _SHELL_MININGADDRESS_BEAN_H_
#define _SHELL_MININGADDRESS_BEAN_H_

#include "Beans.h"
#include "Message.h"
using namespace std;
class MiningAddress : public Bean
{
	public:
	MiningAddress();
	~MiningAddress();
	void reset();
	MiningAddress* clone();
	//矿点编号
	int8 addressNum;
	//矿点星级(1-5星)
	int8 miningType;
	//占领矿点的玩家id
	int64 toPlayerId;
	//占领矿点的玩家名称
	string toPlayerName;
	
	bool read_from(ByteBuf& buf);
	bool write_to(ByteBuf& buf);
};

#endif
